<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>供需合作推荐</title>
    <!-- Bootstrap 5 CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <!-- Font Awesome -->
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    
    <style>
        /* 基础样式 */
        body {
            font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
            background-color: #f8f9fa;
            color: #333;
            line-height: 1.6;
        }
        
        .container {
            max-width: 1200px;
        }
        
        /* 页面头部 */
        .page-header {
            padding: 2.5rem 0;
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .page-title {
            font-weight: 700;
            color: #2d3436;
            margin-bottom: 0.75rem;
        }
        
        .page-description {
            color: #636e72;
            max-width: 700px;
            margin: 0 auto;
        }
        
        /* 分类标题 */
        .section-title {
            font-weight: 600;
            margin: 2.5rem 0 1.5rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #28a745;
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: #2d3436;
        }
        
        .section-title i {
            color: #28a745;
        }
        
        /* 视图切换和筛选 */
        .view-controls {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            flex-wrap: wrap;
            gap: 1rem;
        }
        
        .view-options {
            display: flex;
            gap: 0.5rem;
        }
        
        .view-btn {
            background-color: white;
            border: 1px solid #dee2e6;
            border-radius: 6px;
            padding: 0.5rem 0.75rem;
            cursor: pointer;
            color: #6c757d;
            transition: all 0.2s;
        }
        
        .view-btn.active {
            background-color: #28a745;
            color: white;
            border-color: #28a745;
        }
        
        .filter-controls {
            display: flex;
            gap: 1rem;
            flex-wrap: wrap;
        }
        
        .filter-select {
            min-width: 150px;
        }
        
        /* 供需卡片基础样式 */
        .collab-card {
            background-color: white;
            border-radius: 10px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            overflow: hidden;
            transition: all 0.3s ease;
            margin-bottom: 1.5rem;
            height: 100%;
            border: 1px solid #f1f1f1;
        }
        
        .collab-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        }
        
        /* 内容容器 */
        .collab-content {
            display: flex;
            flex-direction: column;
        }
        
        /* 媒体容器 - 支持有图和无图 */
        .collab-media {
            position: relative;
            width: 100%;
            min-height: 180px;
            background-color: #f8f9fa;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        /* 无图片状态 */
        .no-media {
            color: #adb5bd;
            text-align: center;
            padding: 2rem;
        }
        
        .no-media i {
            font-size: 3rem;
            margin-bottom: 1rem;
            opacity: 0.5;
        }
        
        /* 有图片的网格布局 */
        .media-grid {
            display: grid;
            width: 100%;
            height: 100%;
            min-height: 180px;
            gap: 3px;
        }
        
        .one-photo {
            grid-template-columns: 1fr;
        }
        
        .two-photos {
            grid-template-columns: 1fr 1fr;
        }
        
        .three-photos {
            grid-template-columns: 2fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .three-photos img:first-child {
            grid-column: 1;
            grid-row: 1 / 3;
        }
        
        .four-photos {
            grid-template-columns: 1fr 1fr;
            grid-template-rows: 1fr 1fr;
        }
        
        .collab-media img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }
        
        .collab-card:hover .collab-media img {
            transform: scale(1.05);
        }
        
        /* 供需信息 */
        .collab-info {
            padding: 1.25rem;
            flex: 1;
            display: flex;
            flex-direction: column;
        }
        
        /* 供需类型标签 */
        .collab-type {
            display: inline-block;
            padding: 0.25rem 0.75rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 500;
            margin-bottom: 0.75rem;
        }
        
        .type-supply {
            background-color: #e3f2fd;
            color: #1976d2;
        }
        
        .type-demand {
            background-color: #e8f5e9;
            color: #2e7d32;
        }
        
        .type-collaboration {
            background-color: #fff3e0;
            color: #e65100;
        }
        
        /* 标题和描述 */
        .collab-title {
            font-weight: 600;
            font-size: 1.15rem;
            color: #2d3436;
            margin-bottom: 0.75rem;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .collab-description {
            color: #636e72;
            font-size: 0.9rem;
            margin-bottom: 1rem;
            flex: 1;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
            line-height: 1.5;
        }
        
        /* 详细信息 */
        .collab-details {
            margin-bottom: 1rem;
            font-size: 0.85rem;
        }
        
        .detail-item {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #495057;
            margin-bottom: 0.5rem;
        }
        
        .detail-item i {
            color: #adb5bd;
            width: 1.25rem;
        }
        
        /* 联系人信息 */
        .contact-info {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            margin-bottom: 1rem;
            padding-top: 0.75rem;
            border-top: 1px solid #f1f1f1;
        }
        
        .contact-avatar {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            object-fit: cover;
            border: 2px solid #f1f1f1;
        }
        
        .contact-details {
            flex: 1;
        }
        
        .contact-name {
            font-weight: 500;
            color: #2d3436;
            margin-bottom: 0;
            font-size: 0.95rem;
        }
        
        .post-time {
            font-size: 0.8rem;
            color: #b2bec3;
        }
        
        /* 统计和操作按钮 */
        .collab-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 0.85rem;
            color: #636e72;
            padding-top: 0.75rem;
            border-top: 1px solid #f1f1f1;
        }
        
        .action-stats {
            display: flex;
            gap: 1rem;
        }
        
        .stat-item {
            display: flex;
            align-items: center;
            gap: 0.35rem;
        }
        
        .action-buttons {
            display: flex;
            gap: 0.5rem;
        }
        
        .action-btn {
            background: none;
            border: none;
            color: #636e72;
            cursor: pointer;
            transition: all 0.2s;
            padding: 0.25rem 0.5rem;
            border-radius: 4px;
            display: flex;
            align-items: center;
            gap: 0.25rem;
        }
        
        .action-btn:hover {
            background-color: #f1f1f1;
            color: #28a745;
        }
        
        .primary-action {
            background-color: #28a745;
            color: white;
        }
        
        .primary-action:hover {
            background-color: #218838;
            color: white;
        }
        
        /* 特色供需合作样式 */
        .featured-collab {
            display: flex;
            flex-direction: row;
        }
        
        .featured-collab .collab-media {
            width: 40%;
            min-height: 250px;
        }
        
        .featured-collab .media-grid {
            min-height: 250px;
        }
        
        .featured-collab .collab-info {
            width: 60%;
            padding: 1.75rem;
        }
        
        .featured-collab .collab-title {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            -webkit-line-clamp: 2;
        }
        
        .featured-collab .collab-description {
            font-size: 1rem;
            margin-bottom: 1.5rem;
            -webkit-line-clamp: 4;
        }
        
        .featured-collab .action-btn {
            font-size: 0.9rem;
            padding: 0.5rem 1rem;
        }
        
        /* 列表视图样式 */
        .list-view .collab-card {
            display: flex;
            flex-direction: row;
            height: auto;
        }
        
        .list-view .collab-media {
            width: 30%;
            min-height: 180px;
        }
        
        .list-view .collab-info {
            width: 70%;
        }
        
        /* 响应式调整 */
        @media (max-width: 992px) {
            .featured-collab {
                flex-direction: column;
            }
            
            .featured-collab .collab-media,
            .featured-collab .collab-info {
                width: 100%;
            }
            
            .featured-collab .media-grid {
                min-height: 200px;
            }
        }
        
        @media (max-width: 768px) {
            .list-view .collab-card {
                flex-direction: column;
            }
            
            .list-view .collab-media,
            .list-view .collab-info {
                width: 100%;
            }
            
            .filter-controls {
                width: 100%;
            }
            
            .filter-select {
                flex: 1;
                min-width: auto;
            }
        }
        
        @media (max-width: 576px) {
            .page-title {
                font-size: 1.75rem;
            }
            
            .collab-media {
                min-height: 150px;
            }
            
            .featured-collab .media-grid {
                min-height: 180px;
            }
            
            .collab-actions {
                flex-wrap: wrap;
                gap: 0.75rem;
            }
            
            .action-buttons {
                margin-top: 0.5rem;
                width: 100%;
                justify-content: flex-end;
            }
            
            .detail-item {
                flex-wrap: wrap;
            }
        }
        
        /* 动画效果 */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.6s ease-out, transform 0.6s ease-out;
        }
        
        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }
    </style>
</head>
<body>
    <div class="container py-5">
        <!-- 页面头部 -->
        <div class="page-header">
            <h1 class="page-title">供需合作推荐</h1>
            <p class="page-description">发现最新的供应、需求和合作机会，连接潜在合作伙伴，拓展业务网络</p>
        </div>
        
        <!-- 精选合作 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-star"></i> 精选合作机会
            </h2>
            
            <div class="collab-card featured-collab fade-in">
                <div class="collab-media">
                    <div class="media-grid three-photos">
                        <img src="https://picsum.photos/800/800?random=11" alt="有机农场产品展示">
                        <img src="https://picsum.photos/400/400?random=12" alt="农场环境照片">
                        <img src="https://picsum.photos/400/400?random=13" alt="产品包装设计">
                    </div>
                </div>
                
                <div class="collab-info">
                    <span class="collab-type type-supply">供应</span>
                    <h3 class="collab-title">有机农产品直供 - 寻找餐厅和零售商合作伙伴</h3>
                    
                    <p class="collab-description">
                        我们是一家拥有100亩土地的有机农场，专注于种植无农药、无化肥的蔬菜和水果。现寻找城市餐厅、高端超市和线上生鲜平台合作，提供每周两次的新鲜直供服务。我们的产品包括绿叶蔬菜、根茎类、浆果类等30多个品种，可提供定制化种植服务。所有产品均通过有机认证，支持全程溯源。
                    </p>
                    
                    <div class="collab-details">
                        <div class="detail-item">
                            <i class="fas fa-map-marker-alt"></i>
                            <span>产地：山东省青岛市郊</span>
                        </div>
                        <div class="detail-item">
                            <i class="fas fa-truck"></i>
                            <span>配送范围：山东省内及周边省份</span>
                        </div>
                        <div class="detail-item">
                            <i class="fas fa-tag"></i>
                            <span>价格范围：面议，量大从优</span>
                        </div>
                    </div>
                    
                    <div class="contact-info">
                        <img src="https://picsum.photos/200/200?random=201" alt="联系人头像" class="contact-avatar">
                        <div class="contact-details">
                            <p class="contact-name">李明 - 农场主</p>
                            <div class="post-time">发布于 2天前 · 已认证</div>
                        </div>
                    </div>
                    
                    <div class="collab-actions">
                        <div class="action-stats">
                            <div class="stat-item">
                                <i class="far fa-eye"></i>
                                <span>3.2k 浏览</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-comment"></i>
                                <span>48 咨询</span>
                            </div>
                            <div class="stat-item">
                                <i class="far fa-bookmark"></i>
                                <span>126 收藏</span>
                            </div>
                        </div>
                        <div class="action-buttons">
                            <button class="action-btn">
                                <i class="far fa-bookmark"></i> 收藏
                            </button>
                            <button class="action-btn primary-action">
                                <i class="fas fa-handshake"></i> 联系合作
                            </button>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 供应信息 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-boxes"></i> 最新供应
            </h2>
            
            <div class="view-controls">
                <div class="view-options">
                    <button class="view-btn active" data-view="grid">
                        <i class="fas fa-th"></i> 网格
                    </button>
                    <button class="view-btn" data-view="list">
                        <i class="fas fa-list"></i> 列表
                    </button>
                </div>
                
                <div class="filter-controls">
                    <select class="form-select filter-select">
                        <option value="all">所有类别</option>
                        <option value="agriculture">农产品</option>
                        <option value="manufacturing">工业制品</option>
                        <option value="service">服务类</option>
                        <option value="digital">数字产品</option>
                    </select>
                    
                    <select class="form-select filter-select">
                        <option value="latest">最新发布</option>
                        <option value="popular">热门程度</option>
                        <option value="nearby">距离最近</option>
                    </select>
                </div>
            </div>
            
            <div class="row" id="supply-container">
                <!-- 有1张图片的供应 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="media-grid one-photo">
                                    <img src="https://picsum.photos/600/600?random=31" alt="手工皮具产品">
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-supply">供应</span>
                                <h3 class="collab-title">手工皮具定制与批发 - 支持小批量采购</h3>
                                
                                <p class="collab-description">
                                    工作室专注于手工皮具制作，提供钱包、背包、笔记本封面等产品，可接受定制设计，支持小批量批发。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>广州市</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-tag"></i>
                                        <span>价格：50-300元/件</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=202" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">王艺 - 设计师</p>
                                        <div class="post-time">发布于 昨天</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>1.8k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>24</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 联系
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 无图片的供应 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="no-media">
                                    <i class="fas fa-code"></i>
                                    <div>软件开发服务</div>
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-supply">供应</span>
                                <h3 class="collab-title">企业级软件开发与系统集成服务</h3>
                                
                                <p class="collab-description">
                                    专业开发团队提供定制化软件解决方案，包括ERP系统、CRM客户管理、电商平台开发及现有系统集成服务。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>北京市</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-clock"></i>
                                        <span>服务周期：3-12个月</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=203" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">张工 - 技术总监</p>
                                        <div class="post-time">发布于 3天前</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>2.1k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>31</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 联系
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 有4张图片的供应 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="media-grid four-photos">
                                    <img src="https://picsum.photos/600/600?random=32" alt="办公空间照片1">
                                    <img src="https://picsum.photos/600/600?random=33" alt="办公空间照片2">
                                    <img src="https://picsum.photos/600/600?random=34" alt="办公空间照片3">
                                    <img src="https://picsum.photos/600/600?random=35" alt="办公空间照片4">
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-supply">供应</span>
                                <h3 class="collab-title">共享办公空间出租 - 可按天/月租用</h3>
                                
                                <p class="collab-description">
                                    市中心位置共享办公空间，提供独立工位、会议室、休闲区，高速网络全覆盖，适合初创团队和自由职业者。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>上海市静安区</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-tag"></i>
                                        <span>价格：80元/天起</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=204" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">刘经理 - 空间运营</p>
                                        <div class="post-time">发布于 5天前</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>1.5k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>18</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 联系
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 需求信息 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-shopping-cart"></i> 最新需求
            </h2>
            
            <div class="row" id="demand-container">
                <!-- 无图片的需求 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="no-media">
                                    <i class="fas fa-search"></i>
                                    <div>寻找供应商</div>
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-demand">需求</span>
                                <h3 class="collab-title">寻找优质咖啡豆供应商 - 长期合作</h3>
                                
                                <p class="collab-description">
                                    连锁咖啡店寻找优质咖啡豆供应商，月需求量500kg以上，要求提供产地证明和品质检测报告，可长期合作。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>全国范围</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-calendar-alt"></i>
                                        <span>需求期限：长期</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=205" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">陈总 - 采购总监</p>
                                        <div class="post-time">发布于 1天前 · 已认证</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>2.7k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>53</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 提供供应
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 有2张图片的需求 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="media-grid two-photos">
                                    <img src="https://picsum.photos/600/600?random=41" alt="活动场地参考图1">
                                    <img src="https://picsum.photos/600/600?random=42" alt="活动场地参考图2">
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-demand">需求</span>
                                <h3 class="collab-title">寻找200人规模活动场地 - 科技行业峰会</h3>
                                
                                <p class="collab-description">
                                    计划举办年度科技峰会，需200人规模会场，要求配备先进音响设备、投影系统，提供茶歇服务，位于市中心优先。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>深圳市</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-calendar-alt"></i>
                                        <span>活动日期：12月15日</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=206" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">赵经理 - 活动策划</p>
                                        <div class="post-time">发布于 4天前</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>1.9k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>27</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 提供场地
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 有1张图片的需求 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="media-grid one-photo">
                                    <img src="https://picsum.photos/600/600?random=43" alt="产品包装设计参考">
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-demand">需求</span>
                                <h3 class="collab-title">农产品包装设计服务 - 有机食品系列</h3>
                                
                                <p class="collab-description">
                                    寻求创意包装设计师为有机蔬菜和水果系列设计环保包装，要求体现自然、健康理念，适合线上线下销售。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>远程合作</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-calendar-alt"></i>
                                        <span>截止日期：11月30日</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=207" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">林小姐 - 品牌负责人</p>
                                        <div class="post-time">发布于 6天前</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>1.3k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>19</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 承接服务
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
        
        <!-- 合作机会 -->
        <section>
            <h2 class="section-title">
                <i class="fas fa-handshake"></i> 合作机会
            </h2>
            
            <div class="row" id="collaboration-container">
                <!-- 有3张图片的合作 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="media-grid three-photos">
                                    <img src="https://picsum.photos/600/600?random=51" alt="联合活动照片1">
                                    <img src="https://picsum.photos/600/600?random=52" alt="联合活动照片2">
                                    <img src="https://picsum.photos/600/600?random=53" alt="联合活动照片3">
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-collaboration">合作</span>
                                <h3 class="collab-title">文创品牌联合展览 - 寻找合作伙伴</h3>
                                
                                <p class="collab-description">
                                    计划在艺术区举办文创品牌联合展览，现寻找10-15家风格互补的文创品牌共同参与，共享场地和宣传资源。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>成都市</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-calendar-alt"></i>
                                        <span>展览时间：1月15-30日</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=208" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">文子 - 策展人</p>
                                        <div class="post-time">发布于 3天前</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>2.3k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>36</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 参与合作
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 无图片的合作 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="no-media">
                                    <i class="fas fa-project-diagram"></i>
                                    <div>寻求合作伙伴</div>
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-collaboration">合作</span>
                                <h3 class="collab-title">跨境电商合作 - 寻找海外品牌代理</h3>
                                
                                <p class="collab-description">
                                    我们拥有成熟的国内电商销售渠道，现寻找海外优质品牌合作，负责其在中国市场的线上销售和品牌推广。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-globe-americas"></i>
                                        <span>目标地区：欧美、日韩</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-tag"></i>
                                        <span>感兴趣品类：美妆、家居、食品</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=209" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">郑总 - 业务总监</p>
                                        <div class="post-time">发布于 7天前 · 已认证</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>3.1k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>42</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 洽谈合作
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                
                <!-- 有2张图片的合作 -->
                <div class="col-lg-4 col-md-6 fade-in">
                    <div class="collab-card">
                        <div class="collab-content">
                            <div class="collab-media">
                                <div class="media-grid two-photos">
                                    <img src="https://picsum.photos/600/600?random=54" alt="课程合作参考图1">
                                    <img src="https://picsum.photos/600/600?random=55" alt="课程合作参考图2">
                                </div>
                            </div>
                            
                            <div class="collab-info">
                                <span class="collab-type type-collaboration">合作</span>
                                <h3 class="collab-title">线上课程联合开发 - 职场技能系列</h3>
                                
                                <p class="collab-description">
                                    教育平台寻找行业专家联合开发职场技能系列课程，包括沟通技巧、项目管理、领导力等，共享收益。
                                </p>
                                
                                <div class="collab-details">
                                    <div class="detail-item">
                                        <i class="fas fa-map-marker-alt"></i>
                                        <span>远程合作</span>
                                    </div>
                                    <div class="detail-item">
                                        <i class="fas fa-calendar-alt"></i>
                                        <span>计划上线：明年第一季度</span>
                                    </div>
                                </div>
                                
                                <div class="contact-info">
                                    <img src="https://picsum.photos/200/200?random=210" alt="联系人头像" class="contact-avatar">
                                    <div class="contact-details">
                                        <p class="contact-name">孙老师 - 课程负责人</p>
                                        <div class="post-time">发布于 2天前</div>
                                    </div>
                                </div>
                                
                                <div class="collab-actions">
                                    <div class="action-stats">
                                        <div class="stat-item">
                                            <i class="far fa-eye"></i>
                                            <span>1.7k</span>
                                        </div>
                                        <div class="stat-item">
                                            <i class="far fa-comment"></i>
                                            <span>29</span>
                                        </div>
                                    </div>
                                    <div class="action-buttons">
                                        <button class="action-btn primary-action">
                                            <i class="fas fa-handshake"></i> 参与合作
                                        </button>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <!-- 加载更多按钮 -->
            <div class="text-center mt-4 mb-5">
                <button class="btn btn-outline-success px-5 py-2">
                    <i class="fas fa-spinner fa-spin" style="display: none;"></i>
                    <span>加载更多机会</span>
                </button>
            </div>
        </section>
    </div>

    <!-- Bootstrap 5 JS Bundle with Popper -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <script>
        document.addEventListener('DOMContentLoaded', function() {
            // 视图切换功能
            const viewButtons = document.querySelectorAll('.view-btn');
            const containers = [
                document.getElementById('supply-container'),
                document.getElementById('demand-container'),
                document.getElementById('collaboration-container')
            ];
            
            viewButtons.forEach(button => {
                button.addEventListener('click', function() {
                    // 更新按钮状态
                    viewButtons.forEach(btn => btn.classList.remove('active'));
                    this.classList.add('active');
                    
                    const viewType = this.getAttribute('data-view');
                    
                    containers.forEach(container => {
                        if (container) {
                            if (viewType === 'list') {
                                container.classList.add('list-view');
                            } else {
                                container.classList.remove('list-view');
                            }
                        }
                    });
                });
            });
            
            // 滚动显示动画
            const fadeElements = document.querySelectorAll('.fade-in');
            
            const fadeInObserver = new IntersectionObserver((entries) => {
                entries.forEach(entry => {
                    if (entry.isIntersecting) {
                        entry.target.classList.add('visible');
                        fadeInObserver.unobserve(entry.target);
                    }
                });
            }, { threshold: 0.1 });
            
            fadeElements.forEach(element => {
                fadeInObserver.observe(element);
            });
            
            // 加载更多按钮
            const loadMoreBtn = document.querySelector('.text-center .btn');
            loadMoreBtn.addEventListener('click', function() {
                const spinner = this.querySelector('.fa-spinner');
                const text = this.querySelector('span');
                
                // 显示加载状态
                spinner.style.display = 'inline-block';
                text.textContent = '加载中...';
                this.disabled = true;
                
                // 模拟加载延迟
                setTimeout(() => {
                    spinner.style.display = 'none';
                    text.textContent = '加载更多机会';
                    this.disabled = false;
                    
                    // 这里可以添加实际加载更多内容的逻辑
                    alert('已加载全部合作机会');
                }, 1500);
            });
            
            // 合作卡片点击事件 - 查看详情
            const collabCards = document.querySelectorAll('.collab-card');
            collabCards.forEach(card => {
                card.addEventListener('click', function(e) {
                    // 避免点击按钮时触发卡片点击事件
                    if (!e.target.closest('.action-btn')) {
                        const collabTitle = this.querySelector('.collab-title').textContent;
                        alert(`查看详情: ${collabTitle}`);
                        // 实际应用中这里会跳转到详情页
                    }
                });
            });
            
            // 按钮交互效果
            const actionButtons = document.querySelectorAll('.action-btn');
            actionButtons.forEach(button => {
                button.addEventListener('click', function(e) {
                    e.stopPropagation();
                    const actionText = this.textContent.trim();
                    const title = this.closest('.collab-card').querySelector('.collab-title').textContent;
                    alert(`已发起${actionText}请求: ${title}`);
                });
            });
        });
    </script>
</body>
</html>
    
